home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / lib / include / sun4.md / sys / RCS / exec.h,v < prev   
Encoding:
Text File  |  1990-12-08  |  1.9 KB  |  105 lines

  1. head     1.3;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    ; strict;
  6. comment  @ * @;
  7.  
  8.  
  9. 1.3
  10. date     90.12.07.23.55.55;  author rab;  state Exp;
  11. branches ;
  12. next     1.2;
  13.  
  14. 1.2
  15. date     90.02.16.14.07.14;  author rab;  state Exp;
  16. branches ;
  17. next     1.1;
  18.  
  19. 1.1
  20. date     89.12.16.00.49.59;  author rab;  state Exp;
  21. branches ;
  22. next     ;
  23.  
  24.  
  25. desc
  26. @@
  27.  
  28.  
  29. 1.3
  30. log
  31. @Unix compatibility.
  32. @
  33. text
  34. @/*
  35.  * Copyright (c) 1982, 1986 Regents of the University of California.
  36.  * All rights reserved.  The Berkeley software License Agreement
  37.  * specifies the terms and conditions for redistribution.
  38.  *
  39.  *    @@(#)exec.h    7.1 (Berkeley) 6/4/86
  40.  */
  41.  
  42. #ifndef _EXEC
  43. #define _EXEC
  44.  
  45. /*
  46.  * Header prepended to each a.out file.
  47.  */
  48. struct exec {
  49.     unsigned int        a_dynamic       : 1;
  50.     unsigned int        a_toolversion   : 7;
  51.     unsigned char    a_machtype;    /* machine type */
  52.     unsigned short    a_magic;    /* magic number */
  53.     unsigned long    a_text;        /* size of text segment */
  54.     unsigned long    a_data;        /* size of initialized data */
  55.     unsigned long    a_bss;        /* size of uninitialized data */
  56.     unsigned long    a_syms;        /* size of symbol table */
  57.     unsigned long    a_entry;    /* entry point */
  58.     unsigned long    a_trsize;    /* size of text relocation */
  59.     unsigned long    a_drsize;    /* size of data relocation */
  60. };
  61.  
  62. /*
  63.  * Magic numbers currently defined:
  64.  */
  65.  
  66. #define    OMAGIC    0407        /* old impure format */
  67. #define    NMAGIC    0410        /* read-only text */
  68. #define    ZMAGIC    0413        /* demand load format */
  69.  
  70. #define    SPRITE_ZMAGIC    0414        /* Uses Sprite pmegs */
  71. #define    UNIX_ZMAGIC    0415        /* Unix binary compatible */
  72.  
  73. /*
  74.  * Machine types currently defined.  Warning:  if you add new machine
  75.  * types or change old ones, be sure to update the information in the
  76.  * library file a.out.c.
  77.  */
  78.  
  79. #define M_68010        1
  80. #define M_68020        2
  81. #define M_SPARC         3
  82.  
  83. #endif /* _EXEC */
  84. @
  85.  
  86.  
  87. 1.2
  88. log
  89. @Changed struct exec to match sunOS.
  90. @
  91. text
  92. @d37 3
  93. @
  94.  
  95.  
  96. 1.1
  97. log
  98. @Initial revision
  99. @
  100. text
  101. @d16 2
  102. a17 1
  103.     unsigned char       a_toolversion   : 7;
  104. @
  105.